package com.weiwen.dao.impl;

import java.util.HashMap;
import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.weiwen.dao.NewsDao;
import com.weiwen.domain.News;

public class NewsDaoImpl extends SqlMapClientDaoSupport implements NewsDao {
	
	public List<News> getNewUpdateNews(HashMap params) {
		System.out.println("getNewUpdateNews-start");
		List list =  getSqlMapClientTemplate().queryForList("news.selectNewUpdateNews", params);
		System.out.println("getNewUpdateNews-end");
		return list;
	}
	
	
}
